package be.groept.ace.enquete.model.dao;

import java.util.SortedSet;

import be.groept.ace.enquete.model.beans.Survey;
import be.groept.ace.enquete.model.beans.User;
import be.groept.ace.enquete.model.exceptions.DAOException;

public interface SurveyDAO {
	public void insertSurvey(Survey survey) throws DAOException;
	public SortedSet<Survey> findAllSurveys() throws DAOException;
	public Survey findSurveyWithQuestionsAndCreator(int id) throws DAOException;
	public SortedSet<Survey> findAllSurveysForUser(User user) throws DAOException;
}
